package com.hioove.core.reflect;

import com.hioove.core.util.ClassUtils;

import java.util.Optional;

public abstract class SqlProxy implements Proxy {

    static String SQL_PROXY = "com.hioove.core.web.mvc.model.SqlCglibProxy";

    public static SqlProxy getInstance() {
        Optional<Object> obj = Optional.ofNullable(ClassUtils.createObj(SQL_PROXY));
        return (SqlProxy) obj.get();
    }

}
